/*
 * @Author: C.
 * @Date: 2021-08-13 10:12:18
 * @LastEditTime: 2022-03-01 13:35:08
 * @Description: file content
 */
let projectMsg=require('../../../package.json')
console.log(projectMsg,6666);
export const detailConfig=[
  {
    prop:'id',
    label:'编号',
    cpnProps:{
      // 按需配置
      // span 列的数量
      // labelClassName 自定义标签类名
      // contentClassName 自定义内容类名
      // labelStyle 自定义标签样式
      // contentStyle 自定义内容样式
    }
  },
  {
    prop:'name',
    label:'名称',
  },
  {
    prop:'sex',
    label:'性别',
    custom:true,
  },
  {
    prop:'date',
    label:'日期',
    filter:'date'
  },
  {
    prop:'state',
    label:'状态',

  },
  {
    prop:'phone',
    label:'手机',
  },
  {
    prop:'id',
    label:'编号',
  },
]
export const projectData=projectMsg
export const projectConfig=[
  {
    prop:'name',
    label:'名称',
  },
  {
    prop:'author',
    label:'作者',
  },
  {
    prop:'version',
    label:'版本',
  },
  {
    prop:'docUrl',
    label:'文档地址',
    custom:true,
  },
  {
    prop:'homepage',
    label:'演示地址',
    custom:true,
  },
  {
    prop:'git',
    label:'仓库',
    custom:true,
  },
]
let devSchemas=[]
Object.keys(projectMsg.dependencies).forEach((key) => {
  devSchemas.push({ prop: key, label: key });
});
export const devSchema=devSchemas

